package DBLayer;
import java.util.ArrayList;
import ModelLayer.*;

public interface IFDBSalesOrder 
{
	public ArrayList<SalesOrder> findAllSalesOrders(boolean retriveAssociation);

	public ArrayList<SalesOrder> findAllSalesOrdersOnCustomer(int phoneNumber);
	
	public ArrayList<SalesOrder> findAllSalesOrdersOnEmployee(int phoneNumber);
	
	public SalesOrder findSalesOrder(int id, boolean retriveAssociation);
	
	public int insertSalesOrder(SalesOrder salesOrder);
	
	public int deleteSalesOrder (int Id);
	
}
